From cd9311c7ebd5c227934989d69cf660f209b00f20 Mon Sep 17 00:00:00 2001 From: robertlipe Date: Thu, 1 Aug 2013 17:07:50 +0000 Subject: [PATCH] Hush GCC warning on implicit time_t conversion. --- gpsbabel/src/core/datetime.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gpsbabel/src/core/datetime.h b/gpsbabel/src/core/datetime.h index 0ca7322e8..261f18410 100644 --- a/gpsbabel/src/core/datetime.h +++ b/gpsbabel/src/core/datetime.h @@ -46,7 +46,7 @@ public: DateTime(QDateTime dt) : QDateTime(dt) {} // Handle time_tm tm = wpt->creation_time; - operator const time_t() const { return toTime_t(); } + operator time_t() const { return toTime_t(); } const time_t& operator=(const time_t& t) { setTime_t(t); -- 2.30.2